<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>爱贝搜索 - 手机版</title>
<style type="text/css">
body {
	font-size: medium;
	line-height: 1.5em;
	text-align: center;
	background:#FFF;
}

img {
	border: 0
}

form {
	margin: 0;
	padding: 0
}

.a {
	padding-top: 6px;
	margin-top: 6px;
	margin-bottom: 6px
}

.h {
	color: #c60a00
}

.s {
	font-size: small
}

.b {
	font-size: small;
	color: #77C
}
</style>
</head>

<body>
	<div>
		<img src="template/images/m-m-logo.gif" /><br />
			<?php if(!isset($mod) || $mod=="" || $mod<0){ ?>
				全部&nbsp;
			<?php }else{ ?>
				<a href=".">全部</a>&nbsp;
			<?php } ?>
			<?php foreach($mod_result as $key => $value){ ?>
				<?php if(isset($mod) && $mod==$value['id']){?>
					<?php echo $value['name'] ?>&nbsp;
				<?php }else{ ?>
					<a href="?m=<?php echo $value['id'] ?>"><?php echo $value['name'] ?></a>&nbsp;
				<?php } ?>
			<?php } ?>
		<form action="" method="get">
			<div>
				<?php if(isset($mod) && $mod!="" && $mod>-1){ ?>
					<input type="hidden" name="m" value="<?php echo $mod ?>" />
				<?php } ?>
				<input type="text" name="k" maxlength="64" size="26" />
				<input type="submit" value="搜索" />
			</div>
		</form>
		<div class="a">
			&lt;<a href="?web">电脑版</a>|触屏版&gt;<br />
			<span class="b">&copy;2013 i-bei.com 沪ICP备10219774号</span>
		</div>
	</div>
</body>
</html>